Both are correct.
'count on' means 'depend on, rely on'
'count me..." means, when tallying up how many friends you have, you can include me in that number. Very important for a politician to know, and how many others have knives ready to stick in his back!
- For Teachers