Fixed the problem that tags_entry_count of MTDatabase became an error in dynamic publishing. BugzID: 111654