Powershell Count Data In Array Function