only count phrase if target phrase is specified