added function to count the likedBy array instead of likes property
removed the prompt for token