1. Update no. of entries after adding new method
2. Added unit test for adding row

GCP-10504

Reviewer: Daniel Villafuerte