MySQL server has gone away
SELECT parent_album,COUNT(*) AS imagecount FROM `plogger_pictures` GROUP BY parent_album