Fixing word count calculation

Applications without descriptions raise a fatal error