select count(*) from cr_content_mime_type_map where mime_type like ('%text/%') and content_type = :content_type select count(*) from cr_content_mime_type_map where content_type = :content_type