select tipus, count(*) from adatok group by tipus;