Implementation of folder/account message counts.