Count Of Substrings That Start And End With 1 In Given Binary String