title: jquery library to count how many times a user has logged into my page
body: <p>I am using a jquery library for cookies and want to use this cookie to count how many times a user has logged into my page. </p>
  
  <p>The cookies I am using are here: <a href="https://github.com/js-cookie/js-cookie" rel="nofollow">https://github.com/js-cookie/js-cookie</a></p>
  
  <p>and I am setting the cookies within a login function. </p>
  
  <p>The problem is I want to pass a counter within <code>Cookies.set(</code> or have some sort of mechanism within this where the cookie will remember how many times the user has logged in. </p>
  
  <p>Please can someone help with this?</p>