This is my JSON array,
[{
"textinput": [{
"position": 0,
"dependency": "no",
"id": 0,
"label": "single1",
"Itype": "textinput"
}, {
"position": 1,
"dependency": "no",
"id": 1,
"label": "single2",
"Itype": "textinput"
}, {
"position": 2,
"dependency": "no",
"id": 2,
"label": "single3",
"Itype": "textinput"
}, {
"position": 3,
"dependency": "no",
"id": 3,
"label": "single4",
"Itype": "textinput"
}, {
"position": 4,
"dependency": "no",
"id": 4,
"label": "single5",
"Itype": "textinput"
}, {
"position": 5,
"dependency": "no",
"id": 5,
"label": "single6",
"Itype": "textinput"
}]
}]
I would like to get help in counting the number of position in the above array.