nl_tokens: Add to the count of classes seen . Instantiate a new object to hold the classes and counts if it has not been seen yet .
pl_tokens: function addLabel ( <mask> , self ) { if ( ! ( label in self . labels ) ) { self . labels [ label ] = 1 ; } else { self . labels [ label ] ++ ; } }