Inspection of Equation (3) shows that it takes four queries to calculate the semantic orientation of a phrase.
i cached all query results, and since there is no need to recalculate hits("poor") and hits("excellent") for every phrase, each phrase requires an average of slightly less than two queries.