A generic counter for stuff, useful e.g. for counting deaths while streaming games