Good morning,
I’m looking for a sample that demonstrates how to use Arcade to count records from a hosted feature layer, specifically when connected through Dynamic Content in a text widget. I’m trying to understand how to access the data source and its fields using Arcade.
Essentially, I want to achieve the equivalent of COUNT("OBJECTID") in Arcade.