fix count and calculate searching with count_includes