count rows remove order by from query