datatable.Frame.__len__()

Returns the number of columns in the Frame, same as .ncols property.

This special method is used by the python built-in function len(), and allows the dt.Frame class to satisfy python Iterable interface.