STOCK-BASED COMPENSATION - Schedule of Stock-Based Compensation Expense by Type of Award (Details) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Stock-Based Compensation Plans    
Stock-based compensation $ 18,369 $ 16,401
Equity Settled Awards    
Stock-Based Compensation Plans    
Stock-based compensation 18,364 16,405
Equity Settled Awards | Restricted stock units and restricted stock awards    
Stock-Based Compensation Plans    
Stock-based compensation 16,011 14,253
Equity Settled Awards | Stock bonus program and bonus share program    
Stock-Based Compensation Plans    
Stock-based compensation 2,353 2,152
Cash Settled Awards | Phantom stock units (cash-settled awards)    
Stock-Based Compensation Plans    
Stock-based compensation $ 5 $ (4)