You can remember the meaning of 伙计 with this easy mnemonic:
I'm your partner, stop treating me like your assistant (伙) and telling me to calculate (计) your sales revenue!
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.