Oh, and to expand upon how much Sam knows, take the idea that there a parallel universes for everything ever. Let's say someone stepped on a lady bug, there are millions upon billions of different universes for what could have happened differently. Sam, with his power, can see all of them. Don;t ask how, the surgery gave his brain the capacity to hold that knowledge. He is literally the smartest thing to ever exist in the history of all the universe.