Captures keystrokes and sends a counter to StatsD