What you probably want (depending on where your template is called) is count($g33k_pcache[$post['pid']]). Unfortunately, that can't be evaluated in a template. Probably, then, this is for the moment not possible. Sorry. :-(
Edit: Oh, I see you edited your post to say you found a solution - maybe you could share your solution with us.
Edit: Oh, I see you edited your post to say you found a solution - maybe you could share your solution with us.