Invocation count is used when you want to run the same tests multiple times. Below example illustrates how to use invocation count in TestNG.
Say, you have a test that you want to repeat multiple times to make sure that it works fine, you can specify invocationCount to invoke a test with specified test data multiple times.
E.g.
@Test(invocationCount = 5) will execute your same test 5 times.