On the number of limit cycles bifurcating from a non-global degenerated center