check no of shrads settings
Object and Type parsing: Fix include_in_all in type

include_in_all can also be set on type level (root object).
This fixes a regression introduced  in #6093

closes #6304