Ansible Loop Over Json Array Length In C