statistics platform based on lua