Python Count Method String In Python Syntax