- added count method