added in code to allow gravityforms shortcode to count remaining entries.