Add Drafts/Versions number to database index

Fix #41.
Merge branch 'add-numbers-index'