Creating Scripts For Powershell Array Count Values