vcl_atomic_count returns long not int
atomic_count is long, but wrapped function returns int