Fixed HABTM's CollectionAssociation size

HABTM should not include new records as part of #count_records as new records are already counted.

This addresses #14914.