Measuring the magnon-photon coupling in shaped ferromagnets: tuning of the resonance frequency