Fixed stats counting