get_avg_num_regulators function

Get the average number of active regulators per module