Revert "stats - outdated variable syntax"

This reverts commit 1a5460db30e399f02aa50002ffc126811492cfda.

Change-Id: Idba8be8e92f0d49364a043637d12e3616a4c95b5
Merge "Revert "stats - outdated variable syntax"" into production