Typescript Sum Property In Array In Sql