Puzzle #ZJRRy (
lichess.org/training/ZJRRy) doesn't count 47... Kg8 even though it draws, and instead plays the losing 47... Kf8.
It's the start of the puzzle not in the middle of one... It's the entire point of the puzzle, to show that Kg8 is a mistake and the puzzle is how to find good moves against it. It's not wrong at all
Oh, I got confused and thought it was the middle. Thanks for clarifying!