added override option to data source delegate for number of items