public void count ( final Stat name , final int count ) { Integer value = counters . get ( name ) ; value = value == null ? count : value + count ; counters . put ( name , value ) ; }
Inserts value for first call and sum values for consequent calls .