Powershell Get Array Count Php Array To String Conversion In Jquery