Seems pretty simple but I cant get it to work.
If I have two divs with the class of 'user'
I want to output 'you have 2 divs'
    <script type="text/javascript">
  $(document).ready(function() {
     function divcount() {
      var mycount =  $('.user').length(); 
      document.write(mycount)
     }
  });
</script>
I'm sure im missing something simple..