generally, The task for the court when applying this subsection is, firstly, to identify and value the benefit conferred, and then, secondly, to make an assessment of the just sum that should be awarded. The amount awarded cannot exceed the value of the benefit obtained.