Your logic is flawed.
if eventCount is 0, the first block is executed. If it is not 0, the "else if" condition is evaluated, but since eventCount is not 0, it is never true and the corresponding block (that contains your "hello") is never executed.
Nothing to do with sf::Clock.