text statistics with dynamic info