Performance improvements for nunique method.

``NaT`` will not be excluded by ``dropna``, otherwise ``value_counts`` excludes ``NaT``.