I created an attribute rule with the triggering event "Update" in an attempt to obtain the number of records for the feature class.
the code is this:
return{"errorMessage" : "An "+count(FeatureSetbyName($datastore, "Room"))}
whenever I update any records on the table, the count of records is the actual number plus one.
