Typescript Get Values From Json Object Counter