Creates latch with initial count.
initial count.
Result.ok(latch), or Result.error(CountDownLatchError.INVALID_ARGUMENT) when count is negative.