'Return the height of the formatted curses message.
The height is defined by the number of \'\n\' (new line).'

def get_stats_display_height(self, curse_msg):

    try:
        c = [i['msg'] for i in curse_msg['msgdict']].count('\n')
    except Exception:
        return 0
    else:
        return (c + 1)
