Webapp. Calculating metrics.