def worker_number(worker_id):
    """Get the current worker number."""
    id_as_str = "".join(ch for ch in worker_id if ch.isdigit())
    if len(id_as_str) == 0:
        return 0
    return int(id_as_str)