(Beginner) Blinking led call function
There's two things wrong with your sketch - one fatal and one that is more confusing for humans.

First the fatal problem:

for(byte i=0; i == count; i++)


That for loop is never going to do anything.  The way it is written it will loop only while i is equal to count (0 == 5) which it never will. Instead you need to loop while i is less than count:

for(byte i=0; i &lt; count; i++)


The second issue is that you have named your function parameter variables the same as your global variables. While this is syntactically valid (the local variables will override the global ones) it is incredibly confusing for people to follow what is what and should be avoided at all costs.