Add longest subsequence length