remove HINT_DISTINCT for count total rows