Added separate endpoint count table and dao for it.