Remove unused getJobImageCount method.