I want to get the size of the image

I need to get the current burned Image size on the OpenWrt device that is already running, I don't know if OpenWrt already supports this feature, or can I do it myself through some other means, such as putting the generated image size in a fixed position at compile time? I don't quite understand, I hope someone can solve the puzzle for me, thank you.