public function count()
{
$this->loadUnsubscribed();
$iterator = new IMP_Ftree_IteratorFilter($this);
$iterator->add($iterator::NONIMAP);
$iterator->remove($iterator::UNSUB);
return iterator_count($iterator);
}