Neil Patrick Harris played a supporting role on Doogie Howser , M.D .
On television , Neil Patrick Harris is known for playing a supporting role on Doogie Howser , M.D. , Barney Stinson on How I Met Your Mother , for which he was nominated for four Emmy Awards , and Count Olaf on A Series of Unfortunate Events .
Neil Patrick Harris