Restricting a Media-MultipleMedia field to a given number

Did you find solution for this?