As Dr Wolfgang R. Dick says, the citations are counted automatically and the h-index is calculated from this.
Back to your topic of citations, for example, RG and Google use slightly different methods so the results may be a bit different - quite different for some people. This is discussed further in this article:
Article ResearchGate and Google Scholar: how much do they differ in ...