Added number of images(taking into account the inheritance tree) of the detector serializers.