it takes abt 4-5 yrs to do ur phd depending on ur capability to do it.
having a publicaion is obviously good, but many people get admission without it too. so dont worry too much abt it. its thw whole application that matters, not 1 particular thing.