How To Check Array Length In Powershell