code: function getNumTargets() {
      if (numTargets) {
        return numTargets
      }
      var targets = grunt.config('npmcopy')
      if (targets) {
        delete targets.options
        numTargets = Object.keys(targets).length
      }
      return numTargets
    }
docs: Retrieve the number of targets from the grunt config
  @returns {number|undefined} Returns the number of targets,
  or undefined if the npmcopy config could not be found