count method test