Separated functions by pipeline stage and added total instruction count

from Deepika's 5/22/14 email