The Kier shape descriptor [tc00] can be defined as :
Equation 1. Kier shape 3
A means the number of nodes in the molecules graph. P3 is the number of paths of length 3 in the given molecule.