Powershell Count Items In Json Array Syntax Matlab For Loop