Increments the execution count and checks if it's within the limit.
true if the execution count is less than or equal to max, false otherwise