In an LTIMindtree text-processing utility, implement a function that counts how many times a specified character appears in a string. The comparison must be case-sensitive, so "A" and "a" are different characters.
Implement count_character(text, target):
text, a string, and target, a string containing exactly one character.text whose character equals target.0 when the target does not occur or when text is empty.def count_character(text, target):