Does the time served count for all charges or does each county count separately? Time is overlapped
No idea. It depends on your particular case(s), whether there was bail set in the second county before or after the first charges, etc.
A criminal defense attorney is going to have to sit down and compare the paperwork and dockets in both cases to answer your question. Your best bet is to hire one to do so. That attorney can also advocate for you so that perhaps you CAN double-dip with the time served so that both counties are satisfied.
Best of luck to you.