Mary said: "i have got a lot of friends" ( В КОСВЕННУЮ РЕЧЬ )
Mary said that she had got a lot of friends.