how to get object length in ionic 4 code example Example: length of object in typescript Object.keys(customer).length