Typescript Get From Array Python Size Of Dataframe In R