CS-4477: Undefined getImageFileReferencesCount() method in update storage service

Adds missing method to image repository.