Count pref types.