Alligator class has implemented a Countable  interface.