Hi Asad,
Create a list of all projects using a Microflow and a Retrieve action. Use the Aggregate list action with option count to get the number of all projects. Do the same but for projects with the status closed. The two numbers can be used to populate the Create variable action (type decimal). The variable can be set as return variable of the microflow.
Go Make It