Count Duplicate String In Python