Php Count Number Of Specific Characters In String Python W3schools