I noticed in MS Paint that there is an x and y coordinate counter. Does Krita have something similar?

I have some code to fetch the document coordinates. If plugins are available for you, it can probably be adapted for your use. Document pixel position under cursor position