Pediatrician said 9 month old should only take the breast 3 times a day.

We went to my boy’s 6 month checkup and his pediatrician said by 9 months he should breastfeed 3 times a day only. Said he should mostly eat food and drank water. Is that right? Cause to me it sound like 3 times is not enough. I nurse whenever he wants to. What do y’all think?