Create count_cosine.rb

用來計算query跟文章的cosine similarity