while (it.hasNext()) {
final OtpErlangTuple res = (OtpErlangTuple) it.next();
final int num = Integer.parseInt(res.elementAt(1).toString());
final int calls = Integer.parseInt(res.elementAt(2).toString());
final LineResult lineRes = new LineResult(num, calls);
stats.addLine(lineRes);
}