<page_title> Neil Patrick Harris </page_title> <section_title> Television </section_title> <table> <cell> 1989–1993 <col_header> Year </col_header> </cell> <cell> Doogie Howser, M.D. <col_header> Title </col_header> </cell> <cell> Douglas "Doogie" Howser <col_header> Role </col_header> </cell> <cell> 2005–2014 <col_header> Year </col_header> </cell> <cell> How I Met Your Mother <col_header> Title </col_header> </cell> <cell> Barney Stinson <col_header> Role </col_header> </cell> <cell> 2017–2019 <col_header> Year </col_header> </cell> <cell> A Series of Unfortunate Events <col_header> Title </col_header> </cell> <cell> Count Olaf <col_header> Role </col_header> </cell> </table>
On television, Neil Patrick Harris played the title character in "Doogie Howser", M.D. (1989–1993) and Barney Stinson in "How I Met Your Mother" (2005–2014), and Count Olaf in "A Series of Unfortunate Events" (2017–2019).