The developmental process in which an organism senses the number of X chromosomes and autosomes in its genomic complement and responds to it.