Show size of referenced page next to every reference

Hey guys,

I am looking for a plugin that would, next to every reference (eg [[my-reference]]) display the approximate size of the page. It could be as a (recursive) sum of all the blocks, or the line count, or the byte size, but just something that would help me to estimate the size of the link, w/o having to click on it. Before I dive into the Api, does anyone know if it is powerful enough to allow that, or maybe give me some tips (or has anybody already done this:-))?