«اثْنَتَيْنِ» can be either accusative or genitive.

Noun Case Classes: Type 5 — The Dual and Related Forms