Count 1 In Sorted Binary Array Leetcode