Given an integer array `nums`, return the length of the longest strictly increasing subsequence (elements left to right, not necessarily contiguous).