fixed regression in count selector