added count

count: not used often in do files, but will be useful for testing if conditions