fix for spof average, also count pages without spof