Social media share and like counters always look a bit awkward on websites and normally allow very little change when it comes to appearance.
About 2-3 years ago I wrote a little plugin for expression engine which used various social media feed to count and display likes/shares/tweets etc
The code is a bit out of date now but might be of some use Github/share-counters.
Taking this code I formatted the response to JSON then en-coded the result to give us an object we can use.
$url = "
$json = file_get_contents($url);
Which gives us
 => stdClass Object
[like_count] => 3137662
[total_count] => 12094803
[share_count] => 6994340
[click_count] => 265614