Refresh activity stat in get_notification_count.
Fix: include empty cache directory in the repository.