Getting aggregate data to global function statistics table