deleted tabla function since count does pretty the same thing and is base