select iduser,count(iduser) as blabla from tabella where statofoto = '0' group by iduser