added counter for collection of DNS on MongoDB