Create a function that returns the number of decimal places a number (given as a string) has. Any zeros after the decimal point count towards the number of decimal places.
getDecimalPlaces("43.20") ➞ 2
getDecimalPlaces("400") ➞ 0
getDecimalPlaces("3.1") ➞ 1
Return 0 if the number doesn't have any decimal places (see example #2).