In reply to dave_59:
Also, I rushed my post yesterday and looked at the wrong thing. I didn’t mean to talk about the cast variant, which, as you correctly pointed, only counts the number of items that satisfy the expression. I meant to talk about the version with the ternary operator:
y=numbers.sum with (item>5?item:0);
which is what users usually want.