Typescript Sum Property In Array Of Strings In Js