>Is there any way to determine the number of records which are the target of a relation?
Not exactly:
SELECT COUNT(*) FROM TargetTable WHERE RelationExpressionHere INTO ARRAY _test
WAIT WINDOW _test[1]
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.