Now, since 4 windows are running independently, I need to track them by fetching the Process ID of each and checking the count of the number of processes running. How can I fetch the number of processes running inside the C code?