Add check for word count

If word count is greater than 5000 words give an alert indicating
the user should create a segmentation task instead. Closes #482