added database counter table structure