Python Count Number Of Items In String