Count count = this.countermap.get(key);
if (count == null) {
count = new Count();
this.countermap.put(key, count);
}
<BUG>count.count += amount;
}</BUG>
public long getCounter(byte [] key) {
Count count = this.countermap.get(key);
if (count == null) return 0L;

Count count = this.countermap.get(key);
if (count == null) {
count = new Count();
this.countermap.put(key, count);
}
count.count += amount;
return count.count;
}
public long getCounter(byte [] key) {
Count count = this.countermap.get(key);
if (count == null) return 0L;
