count arrays length based on object property code example Example: length of an array javascript array.length