This is useless, as the items count can be directly acessed using the '.size' method, so use that instead when needed.