added count and each test cases