How to create total number of nights