If I am an essentialist, I will also say, 'The number of planets (whatever it may be) is necessarily odd,' on the grounds that all odd numbers are necessarily odd; and my usage is just as attributive as in the first case.