How to calculate average client value. And use it to detect profita...