Size effect on magnetic coupling in all-ferromagnetic superlattices