How many nodes should I have in the last dense block?

As many as the shape of your target, so it depends on your task.

This is explained in our webinar: Hands on with deep learning and predictive maintenance

For more info check out our cheat sheets for tips and tricks on how to solve your problem.