At present in user/uid/edit page we have the option to change the present password. This at times will be confusing to end user about what it might deal with.
This module provides an easy way for an entity to calculate the average/sum/min/max of a field on other entities that are currently referencing it through a Entity Reference field.
This module is heavily based upon the Entity Reference Count module. Even this project page description is heavily based on that module.
How it works
This Entity Reference Calc is in-and-of itself, just another field type (called "entityreference_calc" in the code) that may be attached to any Drupal entity. The field can be configured to select which referencing entity types and fields you want to do the calculation on.
The calculation field is automatically re-calculated when the referencing or referenced entity get inserted, updated or deleted. The Entity Reference Calcs's numeric field value may be enabled, displayed and manipulated via view modes, through the "Manage Fields" interface provided by Drupal core's Field UI, and has built-in Views integration.
Installation
Copy entityreference_calc to your module directory and then enable on the admin modules page.