concerns
The attribute is calling the attribute ObjectCount of the retrieved object. If no object was found by the object reference, the attribute function raises an error.