Changed the CountSolutionFilesByExtension function to eliminate piping, use the passed in project, and explicitly return a value to see if it fixes the problem of not detecting .aspx files.