Increment a counter starting at 0 five times in a loop, doing each increment inside a semaphore named
"eval-counter" such that only one increment runs at a time, and return the counter as a plain value, not
wrapped in an object.
