Typescript Sum Property In Array In Php W3