The school cafeteria offers circular (`0`) and square (`1`) sandwiches. The students stand in a **queue**, and the sandwiches sit in a **stack**. Each number represents a preference:
- If the student at the front of the queue prefers the sandwich on top of the stack, they take it and leave the queue.
- Otherwise, they skip it and go to the **end** of the queue.
This continues until none of the students in the queue want the top sandwich, at which point everyone still in the queue is unable to eat.
You are given two arrays: `students`, where `students[i]` is the preference of the i-th student in the queue (front first), and `sandwiches`, where `sandwiches[j]` is the type of the j-th sandwich in the stack (top first). Return the number of students that are unable to eat.