introduce counts, not working now