Liberties count uses sets