Can we get holder count and top 5 holders?

Hey

I have no idea what I am doing but need get the following info and not sure if it is possible

  1. total count of holders
  2. the top 5 holders and the amount of tokens they have

Currently, we do not have a token holder API. But this topic guides you with how you can get the holder information of a token

In order to get the holder’s count/number, you can fetch the senders and receivers count as discussed in this topic