A madman went into the room of time,
To find his great wit and line;
To his dismay he swallowed some wine,
And now he can only count nine.
Clearly nine cannot be right,
For this has some sides of eight;
He needs to solve this before he is late;
How many hours can he create?
Bonus: How long does the madman have to live?
HINT 1
Be sure to look deeper,
Straight edges there's more;
Curved edge is a keeper,
If viewed from a corner.
HINT 2
The glass can be viewed from the side or an angle,
But not from the top as the time is not able;
The slice is a piece that is greater than twoscore,
But less than a day that is threescore and stable.