Is there a way to know the number of memory references for a variable?. 
The runtime must know it but i do not know if this available for the program trough any low level trick

Thanks