Returns the number of rows and columns in a GPU table. For a lazy table
with pending operations the row count is that of the result, so the plan is
run on the GPU (compute(), nothing is copied to R and x itself is not
changed). ncol()/NCOL() only need the column count, so they are answered
from the schema without running anything.
Usage
# S3 method for class 'tbl_gpu'
dim(x)