Record record = reader.next();
List fields = record.getVariableFields();
Iterator i = fields.iterator();
while (i.hasNext()) {
VariableField field = (VariableField) i.next();
String tag = field.getTag();
if (table.containsKey(tag)) {
Integer counts = (Integer) table.get(tag);
table.put(tag, new Integer(counts.intValue() + 1));
} else {
table.put(tag, new Integer(1));