remove order clause when count is called