now i writing a program to count person"lila"enter the gate ,other just simply print welcome.that the program is just count how many of time lila enter the gate that display it. this my code but i dun know how to break the loop,it able to display but the loop got problem .pls help! and can u suggest other method to write that this one .tq

Code:
#include<stdio.h>
#include<stdlib.h>
#include<string.h>

int main()
{
    int i,count;
    char name[500];
    printf("please enter you name:\n");
    scanf("%s",name);

    if(strcmp(name,"lila")==0)
    {
         for(i = 1; i <= count; i = i + 1){
         printf("number of enter=%d", i);
    
        }
        return;
        
    }
    else
    {
        printf("welcome\n");
        return 0; 
    }
    
}