The Die Decides the Flips

At a fair booth you first roll a fair six-sided die. Whatever number N N comes up, you then flip a fair coin exactly N N times and collect one token for every head. What is the expected number of tokens you walk away with?

Answer

Free accounts unlock one worked solution a day. Pro includes every answer.