Returns the current number of selected values in a field.
If IncludeExcluded is true the count will include
selected values, which are currently excluded by selections in other fields. If
false or omitted these values will not be included.
getselectedcount ( Year )
getselectedcount ( Year, true( ) )
Note: it's better to go to Help or Qlikview Reference Manual before googling for qlikview basic help.