public static <T extends IItem & IExpandable>int countSelectedSubItems(final FastAdapter adapter,T header){
  Set<IItem> selections=getSelectedItems(adapter);
  return countSelectedSubItems(selections,header);
}

public static < T extends IItem & IExpandable > int countSelectedSubItems ( final FastAdapter adapter , T header ) { Set < IItem > selections = getSelectedItems ( adapter ) ; return countSelectedSubItems ( selections , header ) ; }
counts the selected items in the adapter underneath an expandable item , recursively
