a tool to count accesses to member variables in c++ programs