Is it possible to determine the number of characters used for a password used to encrypt a file with AES 128?
No. Password cannot be used to encrypt anything directly unless it is exactly of a certain size, and then it will be likely weak. Encryption passwords are hashed, with a slow hash hopefully, and the output is used as key.