powershell count objects in array