but most of all, i do not believe that children can not learn to get along over time. so any issue with kids not getting along is going to be temporary.
even if your child makes friends easily, large classes allow the class to split into multiple subgroups, cliques that stick together. the smaller the class, the less likely this should happen. at least that is what my intuition suggests. i would put the limit for that to 10-15 kids though. any more than that is an invitation to form subgroups.
but we also must not forget the montessori aspect here, which has a strong influence on the group dynamics and individual childrens behavior.
for one, i believe that the montessori approach is driving and motivating children in a way that they simply don't show as much negative behavior as they would exhibit in a traditional class.
The local public school seems to be fine (this is elementary/middle grades). Thinking about going from there to a more elite private high school though, biggest downside being that it will require a bit of a commute.
I wish you could load this all up into a world simulator and see which option worked out best 10 years into the future :-)