Fixed join on counting results