grep -c will give you the number of hits for the given pattern in each file. It'd be nice to sort them, but the count occurs after the filename, e.g. GreebleBork:23So, trick sort into using the last field (with a colon separator) as the sort key:
% grep -c translatesAuto *.xib | sort -t: -n -k2