I am not familiar with pearls, but a mechanical sorting mechanism could damage them I think. Also, how is a mechanical sorting mechanism or an electronic counter simpler, cheaper or faster than a photo?
I thought pearls are quite strong, but I learned something today, I just learned that Pearl's Mohs hardness is 2.5 (between gypsum and calcite), meaning very soft in comparison to Diamonds (10).