Refactor to phrases module instead of analyze
Count and rank all in rake tasks