7.22 lab: count characterswrite a program whose input is a string which contains a character and a phrase, and whose output indicates the number of times the character appears in the phrase. the output should include the input character and use the plural form, n's, if the number of times the characters appears is not exactly 1.ex: if the input is: