How To Code Using The Count Method In Python