Report question

Question: How to count how many elements satisfy a condition in an idiomatic way?