Changing total_count in docs and in code to total.