Count Specific Characters In A String Python Definition