It would appear that you have (or rather had them at the time you ran the commands) 6 channels that were funded, but not yet announced. This is most likely why your node sees them (getinfo) but gossipd doesn't yet (listchannels) since they haven't been announced just yet.
as Rene Pickhardt pointed me:
without context I studiert you installed the pylifhtning client via
pip and upgraded you lightning node later so that the APIs have
different versions. But that is only a wild guess for a common error