Readded the core method to counting mobs.  (Oops!)