Added number of calls to profile objects

Hi! I made a tiny fix to the inspectorObjectFor() function so the number of calls are properly extracted from the profile node.