Typescript Compare Array Of Strings Size