Keeping the count right