ncol

ncol(x)

Number of columns of a list-of-lists (assumes rectangular). Like R’s ncol().