lib/in.js
function cc(line, params) {

  var event = params[0];
  var what = params[1];
  try {
    ++event[line[what]].counter;
  } catch (TypeError) {
    event[line[what]] = {
      counter: 1
    };
  }
  return event;
}
function cc(line, params) {

  var event = params[0];
  var what = params[1];
  try {
    ++event[line[what]].counter;
  } catch (TypeError) {
    event[line[what]] = {
      counter: 1
    };
  }
  return event;
}
function cc ( line , params ) { var event = params [ 0 ] ; var what = params [ 1 ] ; try { ++ event [ line [ what ] ] . counter ; } catch ( TypeError ) { event [ line [ what ] ] = { counter : 1 } ; } return event ; }
input for counter

@function cc
@param {String} line - line read
@param {Array} output - object stored
@return {Object}
input for counter