Added numberOfLikes API and test case.