Neil Patrick Harris is an American actor, writer, producer, comedian, magician, and singer. He is known primarily for his comedy roles on television and his dramatic and musical stage roles. On television, he is known for playing the title character on Doogie Howser, M.D. 1989–1993, Barney Stinson on How I Met Your Mother 2005–2014, for which he was nominated for four Emmy Awards, and Count Olaf in A Series of Unfortunate Events 2017–present.