I live in CA and work in MD. Does CA credit state AND local tax pd to MD?Both are on the MD return & all pyts go to Comptroller of MD (not to any local taxing authority)?

In the instructions on CA FTB Schedule S line 7, it says to only include taxes paid to the other state and to not included taxes paid to localities or cities. On the schedule itself, line 7 says "income tax liability paid to name of other state."  The Maryland tax return does separate calculations for state and local taxes, but all taxes are payable to the Comptroller of Maryland (ie, no taxes are paid by me directly to any locality)....just to Maryland.  Can I add both state and local taxes paid to Maryland and use that total on my CA Schedule S as taxes paid to another state?