Add immediate parameter port to Counter component

In some cases, you might want to get the number of IIPs gone throught the Counter component before a disconnect happens.
This patch adds the immediate boolean port to parametrize the component.