I'm working to configure the pop-ups of each feature class within my published feature layer. One of the features classes in the feature layer has a field called "type" . We will call this feature "X". In this field there are 4 types the users can select from when they collect the polygon. This feature class has a relationship with a second feature class (let's call that feature class "Y") within the hosted layer. Is there a way for me to show ac count of each type found in feature X in the pop-up window configured for Y? I'm assuming somehow with adding an attribute expression?