Count Objects In Array Powershell Foreach