If your iTunes is not properly organized it will not give you an accurate count. For instance if you have a lot of unknown artists. If you are in grid view click on artist near the top of the grid. Then it will give you a count near the bottom of the page. See attached image.