Never how long but how much money it takes.
Always better to be not working and have 30 to 50 thousand dollars laying around, for your personal chemical engineering project. Plus you may have unexpected medical bills added on, needles, infections (not that uncommon) and health risk included. Pro BBérs tend to rely on upper's a lot, which may or may not include coke/poppers. Along with this is very high blood pressure (Cutler a prime example) and uneven heart rhythm's.
If you have been making a name for yourself in contest and are quite impressive before your more serious attempt for the Mr O title, than probably a bit under a 6-9 months, with a well planned training routine. Will need a personal trainer to assist through workouts and a Dr. Feelgood, like Charles Glass, are well worth the money they get to help you.
All this is just to help get in the lineup, you may come in last, but there is always another year and another 50 thousand dollars to continue your goals.