added frame count to FPSCounter