Formula to count all instances of a subform entry or average of subform total?

Formula to count all instances of a subform entry or average of subform total?

Hello, I want to create a formula that tells me the number of times a subform was completed in an entry, or gives me the average Total across all subforms in the entry. Is there a relatively simple way to do this? I'm very used to Microsoft's offerings but am fairly new to Zoho.

Thanks in advance.