Addeds dynamic calculation of nr of days