No fine or charge should be levied on you for inquiring about your Demat account number. Your depository participant should assist you without much hassle.