SE-0220: count(where:)

+1 for all the reasons that were stated by others above.

On a meta level, I'm slightly worries that such minimal, common sense and uncontroversial extensions to Swift have to go through the disproportionately heavyweight Swift Evolution process. See exhibit B.

2 Likes