A hashtable was being populated with all records I've updated this to just be the Agent Name:
System.Collections.Hashtable StagingAgtTaskCntbyht = new System.Collections.Hashtable();
for (var i = 0; i < output.GetStagAgtNmbyList.Count; i++)
{
StagingAgtTaskCntbyht.Add(output.GetStagAgtNmbyList[i].AgtName, 0);
}