Will I lose weight if I eat anything I want & count calories?

Here's what I ate: Breakfast- 2 eggs & 2 pieces of turkey bacon.
Lunch- Peanut butter sandwich. Dinner: 1 cup of pasta. In total I ate 960 calories. Will I lose weight? I don't have much healthy food so trying to do what I can. Thanks!!