added route to expose db.reset() and db.count()