For many kalāpas arise together in the Brahma's body measuring many gāvuta, there are more than 30 materiality due to the abundance of those kalāpas with 7 rūpas - cakkhu, sota, and vatthu (dasaka - 3 gandha, rasa, ojā = 7) and 6 rūpas in jivita kalāpa (navaka - 3 =6) because of rejecting gandha (smell), rasa (taste) and āhāra (nutritive essence) [in the rūpa kalāpa].
However, in the aṭṭhakathā, it is said that there is the arising of cakkhudasaka, sotadasaka, vatthudasaka, and jīvitanavaka.
In the pāḷi, however, it is said, "at the arising moment in the rūpadhātu (material plane), apart from the asaññāsatta devas, 5 āyatana manifest, 5 dhātu manifest", in that way, "6 āyatana 9 dhātu [during the course of existence in the] rūpadhātu (material plane)" is said to show the presence of āyatana and dhātu there by means of including everything.
Moreover, for in the kathāvatthu, rejecting the presence therein of gandhāyatana etc. like ghānāyatana etc., "Does ghānāyatana exist there?"
"Yes", "Does gandhāyatana exist there?"
"It cannot be said thus" and so on, it is not possible to say the nature therein of gandha and rasa to be without gandhāyatana and rasāyatana, just like paṭhavidhātu etc. to be without phoṭṭhabbāyatana, due to the absence of the intrinsic nature of gandha and rasa for one free from the nature of gandha and rasa, just like [the absence] of the intrinsic nature of paṭhavi etc. for one free from the impossibility to touch.
Yes
Therefore, in the way that it is not contrary to what is stated in the Pāḷi, in that way the counting of rūpa should be done.