Fixed count error