Write a Python function to parse a system log file and count the occurrences of specific error codes.