measuring size of contextnetwork object