To get the largest bonus from the last ability, you want all five dice to have the same result. It doesn't matter what result that is. The value of X is the largest number of dice that match, not what number they're showing. For example, if your five results are 1, 1, 3, 3, and 4, Centaur of Attention would get +2/+2.