Länge des Objekts in TypeScript

Object.keys(customer).length
Perfect Panther