Issues with Sums, Counts, etc

I have just posted a new thread about this issue: But you are right the Sum function has a serious bug.