crowds: Add unit cost field computation.