Check out our tutorial showing how to create fast social media buttons with counters with just 1 request and 3kB of code.
See the result at the demo page.
Some parts in this repository are not related to the social media buttons themselves, but rather it’s a custom build workflow of this project (probably irrelevant in your project). The following parts are referred in the tutorial:
JavaScript and SCSS code can be rewritten to whatever approach you are comfortable with.