getView()->addGlobal('notes_count', Note::currentUser()->count()); } }