The necessary expenses of the association of district attorneys shall be apportioned among the counties holding membership in the association in amounts provided for by the rules and regulations of the association and in counties of the first class shall not total per annum more than $2,000.
16 P.S. § 9954