public final int countCategories(){
  return mCategories != null ? mCategories.size() : 0;
}

public final int countCategories ( ) { return mCategories != null ? mCategories . size ( ) : 0 ; }
return the number of categories in the filter .
