Issue #78 implement count opened for table