One should avoid `count` when working with sequences, as it is O(n) and does not work for lazy, infinite lists.