Time delay in ES

Hi!
How to filter all messages with a date difference greater than 1000 ms? And get count this messages!

_source": {
          "start": "2020-07-15T01:02:02.548+05:00",
          "end": "2020-07-15T01:02:04.548+05:00",
          "name": "Antest"
        }