Creating Scripts For Powershell Array Count Laravel 11