Powershell Count Duplicates In An Array Practice