When you use Chancellor to discard your deck, do you gain a gold for each Tunnel discarded?
No
Per the Hinterland Rules, Chancellor does not trigger Tunnel

This ability does not function if cards are put into your discard pile without being discarded, .... when your deck is put into your discard pile, such as with Chancellor