Director James Cameron worked on How I Met Your Mother .
Among the 208 episodes of the television series How I Met Your Mother , there were only four directors : Pamela Fryman , Rob Greenberg , Michael Shea , and James Cameron .
How I Met Your Mother