renamed "count" to "length" filter
length filter counts scalars too