implemented metrics for shares and visits to statistics