added valid share and total counter

this prints the valid share and total share when a valid share gets submitted
Merge pull request #1 from novaspirit/master

added valid share and total counter