Can I get an example on how a class method (in your driver), that counts the number of dogs and the number of cats.

Can I get an example on how a class method (in your driver), that counts the number of dogs and the number of cats. It is recommended you create one method called countPets that accepts the pet instance, type, and 0 as a constant number. This method should return the number of the pet set to it. This method is required but how it works is up to you. (This is what the assignment states but I am drawing a blank.

"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!":

Get started