Count biary strings

only 1 test case is passing , my code is here
please help me

hi @mohitj27 please ask bhaiya to assign your doubts to ta