Many symbols in math don't have a single meaning; and in fact this is not quite mathematics, but rather the use of a symbol as a shorthand, among mathematicians, for what would otherwise be an ordinary statement in one's language. One common symbol for "we are done proving this" is the tombstone (e.g. $\blacksquare$ or $\Box$), and I've even seen $\clubsuit$. I've also seen $\Rightarrow\Leftarrow$ for "this is a contradiction". So, the fact that two people use the pound (a.k.a. hash, number) sign $\#$ for these two different things is not a problem. For example, I wouldn't use $\#$ for either of those purposes, but I might use $\# S$ to denote the cardinality of the set $S$.
In general: if you're confused, ask the person using it what they mean. And as GEdgar points out below, when you yourself use such symbols, be sure to explain what they mean at the outset.