prevent division by zero error by counting number of projects specified in argument.
Merge pull request #1 from bangpound/division-by-zero

Prevent division by zero error. Count projects specified in argument.