Código SQL [-]select count(id) from tabla where campo = loquesea
select count(id) from tabla where campo = loquesea