fixed to work with temporaries
added support for single container
added ittcounter<T> and icounter