i have this table
Name Occupation
Maria Actor
Samantha Doctor
John Doctor
Kevin Professor
and i want to count the occurence of professor and output it this way :
There are a total of [occupation_count] [occupation]s.
i know how to count the number of occurences but i don't know how to output the message , can anyone help me ?