Will be reuse in the next iteration. his code is for the calcutaltion of the number of projects