Adds rudimentary count

Added a simple count.