This is a complex vote out from behind the scenes. Only 6/9 votes were cast. Safiya had the merge tribe idol, and because 3 of the six votes were for her, she would have normally gone home had she not have the idol. She plays the idol, negating the votes, but we have a tie between those 3, with 3 votes left. Therefore, the remaining votes must be randomized
There is 1 idol left in play, and it is from the pre-merge!