Find Duplicate Count In Array In Python Definition