Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given an integer array receiver of length n and an integer k. n players are playing a ball-passing game.
You choose the starting player, i. The game proceeds as follows: player i passes the ball to player receiver[i], who then passes it to receiver[receiver[i]], and so on, for k passes in total. The game's score is the sum of the indices of the players who touched the ball, including repetitions, i.e. i + receiver[i] + receiver[receiver[i]] + ... + receiver(k)[i].
Return the maximum possible score.
Notes:

receiver may contain duplicates.
receiver[i] may be equal to i.

 
Please complete the following python code precisely:
```python
class Solution:
    def getMaxFunctionValue(self, receiver: List[int], k: int) -> int:
```