Counters: support float values

Also, deprecate array support from ::updateStats(), I doubt anyone wants to
increment a bunch of counters by the same value.