Implemented Countable interface