Count Duplicate Characters In A String Python