The distribution of frequencies of elements of continued fractions for random real numbers was obtained by Kuz'min in 1928 and is therefore referred to as Gauss-Kuz'min statistics. An old conjecture of the author states that the elements of periodic continued fractions of quadratic irrationals satisfy the same statistics in the mean. This was recently proved by Bykovsky and his students. In this paper we complement those results by a study of the statistics of the period lengths of continued fractions for quadratic irrationals. In particular, this theory implies that the elements forming the periods of continued fractions of the roots of the equations with integer coefficients do not exhaust the set of all random sequences whose elements satisfy the Gauss-Kuz'min statistics. For example, these sequences are palindromic, that is, they read the same backwards as forwards.