get object length function
added missile