The number of categories is taken from the value: header dropdown category count
header dropdown category count
Try to change it in the site settings.