That number would need to be cached somewhere to work on Nostr. As new follows/unfollows get tallied, and occasionally doing an audit of follow lists within a set of relays.