Thank you all for your help!
I was able to find the solution in another post. I created variables for the Count of each code and used an assign activity with the following on the right:
DataTable.AsEnumerable().Where(Function(row) row(“Column Name”).ToString.Equals(“Code”)).ToArray().Count