Yes. The Cloud DNS API is guaranteed to return totalEntries.