[fix bug 1067324] Custom snippet metrics.

Nit: missing semi-colon