Driver code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT arr = [ " hi " , " data " , " geeksforgeeks " ] NEW_LINE chars = " tiadhae " NEW_LINE print ( countCharacters ( arr , chars ) ) NEW_LINE DEDENT