Refactor this code to reduce complexity.
if ( words.length == 0 ) { 
  return -1; 
} 
if ( words.length == 1 ) { 
  return 0; 
}
A more concise way to write this code is to use an if-else statement:
```
if ( words.length == 0 ) { 
  return -1; 
} else if ( words.length == 1 ) { 
  return 0; 
}
```