How can you see how many cards in an anki deck are due before a certain date?

I would like to see how many cards are due before my test date. There are cards that are scheduled a year from now but I don’t want to count those.

Use Heatmap addon