How to say in Czech: How long was she single for?

English
How long was for?
Czech
Jak dlouho byla svobodná?