I have been searching for this macro twice now. Doing MoP and now again in WoD..
Both cases, I was only able to find topics from 2010-2011, when only 9 races was in the game. And most of the scripts were missing the total solves aswell.
So I made an update, and I'm sharing it here, hoping, it might help someone else(who might not know anything about programming), when they go searching.
Code:
/run local t=0; for x=1,15 do local c=GetNumArtifactsByRace(x); local a=0; for y=1,c do local g = select(9, GetArtifactInfoByRace(x, y)); a=a+g; end local rn = GetArchaeologyRaceInfo(x); print(rn .. ": " .. a); t=t+a; end print("Total: " .. t);