Add countPetsBySpecies(coll) method to CustomerTransactionParameters and updated unit tests