added valid share and total counter

this prints the valid share and total share when a valid share gets submitted