change the way to count