Currently, you have:
byte count = 0;
count++;
if(count == 2)
{
// Do something
}
if(count == 3)
{
// Do something
}
You can change that to:
byte count = 1;
count++;
if(count == 2)
{
// Do something
}
if(count == 3)
{
// Do something
}
or:
byte count = 0;
count++;
if(count == 1)
{
// Do something
}
if(count == 2)
{
// Do something
}
Don't you have an Arduino to actually try stuff on? That's way faster than expecting the forum to test/validate your code for you.