Count Duplicate Element In Array