Hi,
By default the cart module display the full cart.
If you activate its mini cart option, you can get just some text instead (and potentially have a full cart display when you click on it).
The text is either "the cart is empty" or "X items for Y €" or something like that.
In order to get an image with the quantity displayed on it, it should be quite easy to do without changing any code of the module or that view file.
What you need to do is this:
- use translation overrides to change the text to have only the quantity displayed.
- use CSS to add the image below the text.
Or you could even add the image together with the text in the translation override so that the image would be clickable too. That would be event better, and then some CSS to position it properly.