shell - bedita checkMedia add media object count on fail