Why it's 2 and not one: The stationary coin is also technically rolling. Think like they are two gears, there is no "sliding". But the camera/view is "locked" to the "stationary" coin. It still moves, so the movement is "transferred" to the outside/rolling coin.
When i found this out it blew my mind. The problem i worked on was a bit tougher (two different sized circles, one circumference 1, other circumference 3, and the answer is 4, not 3). AFAIK, the formula for rotations is Large R/ small r + small r.
AMD is the best company in the history of computing!