add database counters