Count Repeated Characters In Array Python