Added counter to block