Why is this method return 0

Printable View