Miró III of Cerdanya — Bishop and count