test for count