how long does it take to write a book and get it published trending