Fix counters

Add error handling
Better count retrieval for Facebook and Viadeo