Show count and improve api errors