Update total counter in database (refs #21)
Add Comet implementation (closes #21)