Pahlen, Nikolai Petrovich, Count