add version count to history tab