Include transaction state in counts