I am not able to change the number of classes under style pane in ArcGIS pro.
Your question is a bit vague, what do you mean by "number of classes under style"
Can you give us more details please