A technique to determine the number of incoherent sources contributing to the response of a system