Estadísticas de Escritura de textos argumentativos en Enseñanza Primaria y Secundaria: variables cognitivas y motivacionales