added assertions of the used count of the joined table.