Added lengthOfShow var

Added lengthOfShow var and console.log output for it