SELECT COUNT(`Gr1km`) AS numRecs, `Gr1km` AS SpSquare FROM `SDS_Somatochlora_flavomaculata` WHERE `Gr1km` != '' GROUP BY `Gr1km`