added a count likes function