If we decompose sounds into sine waves, and sum the values on the Plomp and Levelt curve for all the pairs of sines, weighted by amplitude, then for the specific case of timbres based around the harmonic series, the minima for the dissonance curve happen to fall at simple ratios. This does not mean the brain is actually counting cycles! It's only a coincidence, and for other timbres the minima fall at different places.