Check for sudo and add count to both command