use custom events to get around the expressions limitations
set custom fields on the event and then map each part of the expression into it
ie
search for X then sum (1 field)
search for Y then sum (2nd field)
the custom event can just have a return result in it
it uses slightly more WU I guess but man is it so much easier to maintain and update