Added total instruction count to CountStaticInstructions.cpp