fix failing tests
use counter cache to display tip count