Implemented Popular Pages API function