Find length of the key and draft of statistical analysis