Analysing the Sample Complexity of Opponent Shaping