dhindex

This function counts all the articles whose citations at least equal to
its sequence number.
This is the core function of the h-index function