Count Function In Python For String