Optimization in KDE-PIM
Reduce the number of columnCount() calls by half.
Since we are operating on a stack of a few proxy models, even columnCount
(which effectively is a constant) can be quite expensive when called a few
million times. Gives us a noticeable reduction in CPU usage of KMail or
Kontact during a mail check.