prevent division by zero error. count projects specified in argument.

When there aren't any projects specified, this value will be an empty array.