(b)the total of the collection of such octroi, tax or toll made in the aggregate area and the costs thereby incurred shall be divided between the cantonment fund and the fund subject to the control of such other local authority, in such proportion, as may have been determined by the agreement.