How far in advance do we need to book hotel rooms or do you need a definite head count first to be able to notify the hotel how many rooms you will need?

Thanks!!