I get an (AttributeError: The vocab attribute was removed from KeyedVector in Gensim 4.0.0) when i try to load google news vector embeddings

Solution
vocab_len = len(model.wv.vocab)  # 🚫
…
vocab_len = len(model.wv)  # 👍