Store the relationships on the object, and add a simple count for the images