The macros that I found online seemed to be old and broken so I created my own to add up all the different artifacts and provide the totals in a nice looking way. Below is a snippet of what it will look like in your chat window and then the macro. A caveat is that while this is mostly accurate I have noticed that sometimes an artifact will not show up in your list within the archaeology window for whatever reason and that also causes the macro to not count it toward the totals. If you think this has happened I have found a /reload to be pretty effective.
2 Vrykul: 7
3 Troll: 0
4 Tol'vir: 0
5 Orc: 0
6 Nerubian: 11
7 Night Elf: 45
8 Fossil: 110
9 Draenei: 0
10 Dwarf: 122
Total: 482
/run t=0; for r=1,10 do local d=GetArchaeologyRaceInfo(r),_,_,_,_;a=GetNumArtifactsByRace(r); local c=0; for b=1,a do local _,_,_,_,_,_,_,_,_,g=GetArtifactInfoByRace(r, b); c=c+g; end; print(r.." "..d..": "..c); t=t+c; end; print("Total: "..t)