beginner question about widgets and amount of objects on scene

Do you happen to know what is the purpose of that number? what does it represent and how does it affect me as an editor? also what is the difference between that number and the object count in the world outliner?