I changed the "private int number" to "static int number" and its working fine.
The problem was that I was basically calling the Count method from two different instances of the Turns class. When number was an instance field, it would start off at 0 for each instance. However, when I changed it to static, it would start off at 0 for the class as a whole and would be incremented by 1 as each instance called the Count method.
class Turns
{
static int number;
public void Counts(int getTurn, out int getBack)
{
if (getTurn.Equals(1))
{
number++;
}
getBack = number;
}
}