The automated counting of fission tracks in an external detector by image analysis