calculate open rate