comparing DB counts