setup count values for each database