A Frames Per Second counter