a quick statistics script