How to make tokens display correctly? I created a blog site and I used the Display Suite module to create a layout for the article content type. In one of the regions I created a custom code field that had "Posted by [user:name] on [node:created:long]".

After creating it I noticed that only the date was showing up and not the user token. I tested this out with several of the user tokens and none of them seemed to work. The only thing I can think of is that users tokens aren't supposed to work in Display Suite, but I couldn't find any proof one way or another.

The second issue is involving the number of views to a particular node. When I go to drupal.org, there is a list of tokens. The one I am trying to use is [node:source:total-count], but nothing appears. I read that it might be a more in depth process than a simple token.
The token used to get the user who wrote the content is not [user:name]. This is the username of a user account that you are trying to view, so this might not be available on the node page as we are not referring a user. 

To display the author name you should use [node:author:name].

If you install the token module you could go to the Help > Token (admin/help/token) page and see the available tokens. 

For more details and a list of the available tokens, see this page.

EDITED As per suggestion in comment.