public function getQuantities() {
        
        $query = 'SELECT "Total photos" AS title, FORMAT(COUNT(*), 0) AS num FROM image
            UNION SELECT "Photos with latitude/longitude" AS title, FORMAT(COUNT(*), 0) AS num FROM image WHERE ROUND(lat) != 0
            UNION SELECT "Photos without latitude/longitude" AS title, FORMAT(COUNT(*), 0) AS num FROM image WHERE ROUND(lat) = 0