Fix progress bar for project resolving.

Assumed one single Project item. Now operates on the number of products.

Change-Id: Ie74f93209163efee5793a88b39aef645980ac996
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>