### Description of the current limitations get_layout_statistics is too heavy ,and it causes unittest failure on Linux. Split the method into smaller ones. ### Code sample expected Implement a new class Statistics to manage statistics calculation. ### Useful links and references _No response_