SELECT COUNT(campo_tabella) AS tot FROM tabella;