Count the triplets (#9022) - Basecamp