The .size() solution didn’t work for me when I had created an embedding using nn.Embedding.  However, just printing the embeddings does show me size at the end of it:
print(embedded).
Hope this helps someone