Getting the size of Any value

At a glance it appears Getting KeyPaths to members automatically using Mirror describes how. I haven't tested it, though, to see if it still works with current Swift versions.