unit test for AbstractDemandedRepository::countDemanded added
method countDemanded refactored. Now using findDemanded