Typescript Get From Array Python Size Of Integer