Checking greaterThan along with count

How do I check that count is greaterThan some vaue in gatling?

.check(regex("""https://(.*)""").count.is(5)) works

Well, if the count value is 5, that’s expected.
greaterThan means >
greatherThanOrEqual means >=

Yeah but when I use greaterThan I get this error.

“value greaterThan is not a member of io.gatling.core.check.MatcherCheckBuilder[io.gatling.http.check.HttpCheck,io.gatling.http.response.Response,Any,String,Int]”

You’re using an older version where this feature didn’t exist.