Count Number Of Certain Characters In String Python Documentation