Count is now displayed in HTML instead of printed to log.