Return number of draft apps/projects

Fixes #831