add count when search is unbounded