update counts on delete, closes #489
fix int conversion
bad index tests for show row
Merge pull request #491 from modilabs/delete-counts-489

Delete counts 489