Count Binary Substrings Hackerrank Sql Intermediate