added count method
added count to mock collection
added test for count method
one line or less