select key, count(*) from plato.Input group by key order by key;