How to number figures inside footnotes
I am not sure how to label [a figure that appears in a footnote]

Presumably the figure is relevant only to the footnote, otherwise it wouldn't appear in the footnote: Include the figure without numbering and without a caption, explain the figure in the footnote.