Subsample images should also count towards the parent sample's image count.
Post-save hook to update related field counts