can you filter out the results where count less than 4 and only show more than 4
SELECT count ( document_structure_code ) , document_type_code FROM documents GROUP BY document_type_code HAVING count ( * )  > 4
filter out results where count < 4 refers to HAVING COUNT(*) > 4; only show counts more than 4 refers to the same condition HAVING COUNT(*) > 4;