I have an `ArrayList` of type `Boolean` and I want to count consecutive occurrences of True or False. 

My looping code works, but I am confused how to deal with the first element. I am trying to do the following:

```
 for(int i=0;i< Answers.size();i++) {
  if(Answers.get(i-1).booleanValue()= = Answers.get(i).booleanValue()) 
  ...

```

For `i=0` I get of course `-1=0`

If I start from `i=1` I leave out the first element

So how I can count them?