Available books count functionality updated