Depending on the user's usage patterns and configuration, there may
be a strong bias in maildir files moving either within the new or to
the cur subfolder. This patch adds hit counters for each of these
directories. Mutt will then look first into the directory
encountered more frequently in the past. This should help to reduce
the cost of chasing messages a bit, and isn't too costly itself.
(Another possibility for optimization may be to actually base the
prediction on the configuration and on the message flags as we know
them - in particular, the mark_old and move options could have some
effect here. Thinking about message flags, one could even replace
the simple heuristic currently implemented by a matrix recording hit
counters depending on flags. But then again, it's all just playing
around, since this function will be invoked only rarely. ;-)