added user related count command.
refactored user contributions.