refs 4524 use total_count instead of total_entries