Ash.Resource.Dsl.Aggregates.Sum.sum

You're seeing just the macro sum, go back to Ash.Resource.Dsl.Aggregates.Sum module for more information.
Link to this macro

sum(name, relationship_path, field, opts \\ [])

View Source (macro)