How would you parse a large system log file and count the frequency of specific PCIe error codes with Python at Advanced Micro Devices?