Using The Count Function In Python