Add lang and dir to category counters and lists

Change-Id: I7b7586ab9f8f58035fdc16bf308dfa14109c3055