Add lua stats

Signed-off-by: Alexey Gladkov <legion@altlinux.org>