test count of map