Multiplicity of limit cycles and analytic m-solutions for planar differential systems