The cost and expenses of maintaining the houses of detention by this act established shall be provided by the respective counties containing the said house or houses of detention as the cost and expenses of maintaining county prisons are now provided.
11 P.S. § 429