Recently I submitted the www version of my site to Google Search Console and 301 redirected all URLs from non-www to www. I submitted the URLs in my sitemap.xml.
The problem is that I've submitted 62 URLs and only 5 are indexed! The non-www version shows 89 indexed and the sitemap shows 5 indexed. The www version also shows 5 indexed.
I checked through Google search using ‘site:www.example.com’ and it shows 8 pages. For non-www it is 89.
Is there a problem?