A simple keystroke counter.