Oracle Count 1 Count 0 In Python