As long as it takes. That's the best answer I can give. Each project will have its own timeline but to give a ball-park figure, each 10,000 words will usually take about 2 months. So a 30-50,000 word book may take 6 months, including research. But it depends on so many factors, such as the quality and volume of your own research, so we'd have to discuss that.