The court may assess and allocate the cost of the evaluation, the report and the fee of the expert to appear in court to testify upon a party or parties, upon the county (in whole or in part) or as otherwise permitted by law.
Penn. Montg. Cnty. 1915.8(e)*