count element occurence in python

welcome to shbcf.ru