numPlayersIgnored = GetNumIgnores()
Returns the number of entries on your ignore list.
Template:WoW API