test get category count