pylint message count extraction