-class UpdateReviewEvernoteTask
+class UpdateFocusTasks
   _findByName: ({name, source, multipleResultsMessage}) ->
     @_findBy(
       source: source

         Matching project names were : [#{names}]."
    )

    reviewTaskBasename = 'Process Evernote inbox'
    reviewTask = @_findBy(
      query:
        completed: false
        name:
          _beginsWith: reviewTaskBasename
      source: daily.flattenedTasks
      multipleResultsMessage: (names) ->
        "Got more than one #{reviewTaskBasename} task! There should only be one.
         Matching task names were : [#{names}]."
    )

    reviewTask.name = "#{reviewTaskBasename} (#{count})"

  run: ->
    @_updateReviewEvernoteTask(count: @_countNotesInInbox())

new UpdateReviewEvernoteTask().run()


    inboxNotebook.notes.length

  _countTextExpanderSuggestions: ->
    TextExpander = Application('TextExpander')

    suggestedSnippets = @_findByName(
      name: 'Suggested Snippets'
      source: TextExpander.groups
      multipleResultsMessage: (names) ->
        "Got more than one 'Suggested Snippets' TextExpander group!
         Matching group names were : [#{names}]."
    )

    # November 16, 2015 MRF
    # In playing around with the TextExpander group, the way I'm accessing snippets didn't
    # seem quite right. This does appear to give the correct number but it may be by
    # coincidence. Please improve if it is necessary and you can.
    suggestedSnippets.snippets.length

  _updateOmniFocusTask: ({taskBasename, count}) ->
    OmniFocus = Application('OmniFocus')

    routines = @_findByName(
