The number of segregating genes implied by continuous variation