Tweaked the sql, as nn+ already does requestid lookups, so we count those here too.