Question: is of course two words?
Answer: The misspelling of the two-word phrase “of course” as “ofcourse” should be caught by any good spelling-checker, but it seems to be extremely common. BUY THE BOOK!