com os dias contados

Etymology
lit. 'with the days counted'.

Adjective

 * 1)  decadent, declining, having one's day numbered, approaching an end, not having much time left