Is there a way to limit objects type settings length?

I’m wondering if there is a way to to limit objects type settings length. I have this settings:

custom_header_links:
  type: objects
  default: []
  schema:
    name: "link"
    identifier: text
    properties:
      text:
        type: string
        required: true
        validations:
          min_length: 1
          max_length: 100
      title:
        type: string
        validations:
          min_length: 1
          max_length: 1000
      url:
        type: string
        required: true
        validations:
          min_length: 1
          max_length: 2048
          url: true
      target:
        type: enum
        choices:
          - blank
          - self

Can I limit the links quantity adding length?
Thanks in advance.