1 Count DP- First Test case not passing

First test case is not passing. I have consider all the possible test cases i could think of…
Can someone please help me find what i missing