Added comment to count method