Update index.php

if nb of categories > 10 we add "other" on the pie charts