APM means Actions Per Minute, and is a term often used in e-sports which refers to how many actions a player can perform in a minute.
Some games has built-in counters for APM. But these are usually filtered to what the game counts as an action.
This app lets you track your APM anywhere, and registers all keystrokes as an action.