select count(cast(key as int)), value from plato.Input group by value order by value;