Adding test to prove find than count on empty collection works.

Disproves #1042.