
For one's days to be numbered
Be doomed / The sands of time are running out for... / The days of... are coming to an end

Avere i giorni contati 
Be doomed / The sands of time are running out for... / The days of... are coming to an end

Avere i giorni contati 
Meanings
To have a very short time left, both literally (to die) and figuratively (be near the end)
Examples
After the recent people uprisings, the dictatorship in that small country is at an end: its days are numbered
Dopo le ultime sommosse popolari, la dittatura in quel paese ha i giorni contati
With the new awareness about ecology, the days of women wearing real furs are numbered
Con il diffondersi di una nuova coscienza ecologica, probabilmente le pellicce vere addosso alle signore hanno i giorni contati
The days of open landfill sites are numbered and they must be replaced by more eco-friendly solutions
Le discariche a cielo aperto hanno i giorni contati e dovranno essere sostituite da soluzioni più eco-compatibili