[db] adds some host statistics.
Closes #16