Number of Longest Increasing Subsequence — CaffeCode