Added view counting