I'd like to check how many elements with name: "order" have value equal 1.
my array:
var myArray=[{"index":1,"zamid":"765","prod":"Spaghetti","price":"22","prod_c":"1","order":"1"},
{"index":2,"zamid":"766","prod":"Coca","price":"5","prod_c":"1","order":"0"},
{"index":3,"zamid":"767","prod":"Hamburger","price":"6","prod_c":"1","order":"1"}]
thank you for help!