Fix counter layout