SELECT anno, COUNT(*) AS num FROM tabell GROUP BY anno