At first you must know specific nitrifying rate of biofilter bed per surface area or per volume. These should be determined during laboratory or pilot study. From these results you can calculate the amount of biofilter bed, when you know the amount of nitrite which should be oxidized per unit time and specific nitrifying rate.