return the number of datapoints from an import document