continuing work on entity counter for #118
added wrapper functions for increment/decrement. Passes spider for what it's worth, but still needs to have duplicate entity type bug worked out.