calling GetFeatureCount() on large table can be time consuming